home *** CD-ROM | disk | FTP | other *** search
- if(this._parent._xscale == this._parent.xscale)
- {
- _root.candy._x = this._parent._x + 90;
- _root.candy._y = this._parent._y - 100;
- _root.candy.dir = "right";
- }
- else
- {
- _root.candy._x = this._parent._x - 90;
- _root.candy._y = this._parent._y - 100;
- _root.candy.dir = "left";
- }
- _root.candy._visible = true;
- _root.candy._alpha = 100;
- _root.candy.gotoAndStop(candy._currentframe);
- _root.candy.ready = true;
-